﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.DataBase.MyProject.Domain
{
    /// <summary>
    ///  请假记录表
    /// </summary>
    public class LeaveRecordModel
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public int RecordId { get; set; }

        /// <summary>
        /// 请假id
        /// </summary>
        public int LeaveId { get; set; }

        /// <summary>
        /// 部门Id
        /// </summary>
        public int DepId { get; set; }

        /// <summary>
        /// 审批人id
        /// </summary>
        public int UserId { get; set; }
        /// <summary>
        /// 审批人 昵称
        /// </summary>
        public string ApproveNickName { get; set; }
        /// <summary>
        /// 审批状态 -- 通过 --不通过
        /// </summary>
        public string RecordStatus { get; set; }

        /// <summary>
        /// 当前审批级别
        /// </summary>
        public int LevelRoleId { get; set; }

        /// <summary>
        /// 审批时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 拒绝原因
        /// </summary>
        public string? Reason { get; set; }

    }
}
